package cn.minimal;

import java.awt.*;

public class Bomb {
    int x;
    int y;
    boolean isLive = false;
    Image im1 = null, im2 = null, im3 = null;
    public Bomb(int x, int y) {
        this.x = x;
        this.y = y;
        this.im1 = Toolkit.getDefaultToolkit().getImage("img/1.png");
        this.im2 = Toolkit.getDefaultToolkit().getImage("img/2.png");
        this.im3 = Toolkit.getDefaultToolkit().getImage("img/3.png");
    }
    public int getX() {
        return x;
    }
    public void setX(int x) {
        this.x = x;
    }
    public int getY() {
        return y;
    }
    public void setY(int y) {
        this.y = y;
    }
    public boolean isLive() {
        return isLive;
    }
    public void setLive(boolean live) {
        isLive = live;
    }

}
